<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>

<body>
    <table border="1" width="300" height="100" cellspacing="0">
        <caption>学生信息</caption>
        <thead>
            <tr>
                <th>姓名</th>
                <th>性别</th>
                <th>年龄</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>张三</td>
                <td>男</td>
                <td>20</td>
            </tr>
            <tr>
                <td>李四</td>
                <td>男</td>
                <td>20</td>
            </tr>
        </tbody>
        <tfoot>
            <tr>
                <td>合计4人</td>
                <td></td>
                <td></td>
            </tr>
        </tfoot>
    </table>
</body>

</html>